﻿#region Disclaimer/Info
///////////////////////////////////////////////////////////////////////////////////////////////////
// MetaCollection
// 
// MetaCollection is a system to provide a standard structure, permissions and metadata service
// for content organization.
//
// This project is hosted at Google Code at http://code.google.com/p/metacollection/
//
// This project is licensed under the BSD license.  See the License.txt file for more information.
///////////////////////////////////////////////////////////////////////////////////////////////////
#endregion

using System;
using System.Security;
using Microsoft.Web.Management.Server;

namespace MetaCollection.Management
{

	class ManagementModuleProvider : ModuleProvider
	{
		public override Type ServiceType
		{
			get { return null; }
		}

		public override string FriendlyName
		{
			get
			{
				return "MetaCollection Content Collection";
			}
		}

		public override ModuleDefinition GetModuleDefinition(IManagementContext context)
		{
			return new ModuleDefinition(Name, typeof(ManagementModule).AssemblyQualifiedName);
		}

		public override bool SupportsScope(ManagementScope scope)
		{
			return true;
		}
	}
}